<style>

body { box-sizing: border-box;}

/* Full-width input fields */
input[type=text], input[type=password] {
	width: 100%;
	padding: 12px 20px;
	margin: 8px 0;
	color: #eee;
	display: inline-block;
	border: 1px solid #888;
	box-sizing: border-box;
	background-color: #1f1f1f;
	border-radius: 10px 10px 10px 10px;
	font-size: 15px;
}
input[type=text]:focus, input[type=password]:focus {
    outline: none !important;
	display: flex;
}
/* Set a style for all buttons */
button.login {
	background-color: #eabd31;
	color: #f1f1f1;
	padding: 10px 20px;
	margin: 8px 0;
	border: none;
	cursor: pointer;
	width: 100%;
	border-radius: 10px 10px 10px 10px;
}
button.login:hover {
	opacity: 0.8;
}
/* Center the image and position the close button */
.login-imgcontainer {
    text-align: center;
    padding: 10px 5px 10px 5px;
    position: relative;
    border-radius: 10px 10px 0px 0px;
    background-color: #adabab;
}
img.avatar {
	width: 40%;
	border: none;
}
.login-container {
	padding: 16px;
}
.password-container {
	position: relative;
}
.password-container i {
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	cursor: pointer;
}
.cancel-login {
	font-size: 24px;
    cursor: pointer;
    line-height: 1;
    margin-top: 8px;
}
.fa-eye, .fa-eye-slash {
	font-size: 16px;
	color: #636363;
	cursor: pointer;
}
.fa-eye:hover, .fa-eye-slash:hover  {
	color: #b8b6b5;
}

.hide {
	display: none;
	font-size: 16px;
}
.register-container {
	padding: 10px 16px;
	background-color: #a9a9a9;
	border-radius: 0px 0px 10px 10px;
}
.registerbtn {
	padding: 10px 20px;
	margin: 8px 0;
	border: none;
	cursor: pointer;
	width: 100%;
	background-color: #e8e8ed;
	border-radius: 10px 10px 10px 10px;
	text-decoration: none;
	color: #5d5d5c;
}
.registerbtn:hover {
	opacity: 0.8;
}
span.psw {
	float: right;
	padding: 1px 0px 1px 0px;
	font-weight: 700;
	font-size: 13px;
	margin: 4px 0px 0px 0px
}
span.psw a{
	color: #eabd31;
	text-decoration: none;
}
span.psw a:hover{
	opacity: 0.8;
}
/* The Modal (background) */
.loginmodal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 10000; /* Sit on top */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
	padding-top: 60px;
}

/* Modal Content/Box */
.loginmodal-content {
	background-color: #4c4c4b;
	margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
	border: 1px solid #888;
	width: 80%; /* Could be more or less, depending on screen size */
	max-width: 300px;
	opacity: 1.0;
	border-radius: 10px 10px 10px 10px;
}

/* The Close Button (x) */
.loginmodal-close {
    position: absolute;
    right: 10px;
    top: 0px;
    color: #636363;
    font-size: 25px;
    font-weight: bold;
}

.loginmodal-close:hover,
.loginmodal-close:focus {
	color: #1f1f1f;
	cursor: pointer;
}

label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: normal;
	color: #e3e3e3;
}

/* Add Zoom Animation */
.animate {
	-webkit-animation: animatezoom 0.6s;
	animation: animatezoom 0.6s;
}

@-webkit-keyframes animatezoom {
  from {-webkit-transform: scale(0)} 
  to {-webkit-transform: scale(1)}
}
  
@keyframes animatezoom {
  from {transform: scale(0)} 
  to {transform: scale(1)}
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
  span.psw {
     display: block;
     float: none;
  }
  .cancelbtn {
    width: 100%;
  }
}

</style>
